package ooday2;

public class AnimaTest {
    public static void main(String[] args) {


    Dog dog1=new Dog("白白",3,"red");
    Dog dog2=new Dog("黑黑",3,"black");
    Dog dog3=new Dog("大鲵",3,"white");
    dog1.eat();
    dog1.drink();
    dog1.lookHome();
    dog2.eat();
    dog2.drink();
    dog2.lookHome();
    dog3.eat();
    dog3.drink();
    dog3.lookHome();
    Chick c1=new Chick("红花",10,"pink");
    Chick c2=new Chick("马萨",10,"pink");
    Chick c3=new Chick("蒂尔",10,"pink");
    c1.eat();
    c1.drink();
    c1.layEggs();
    c2.eat();
    c2.drink();
    c2.layEggs();
    c3.eat();
    c3.drink();
    c3.layEggs();
    Fish f1=new Fish("sa",5,"yellow");
    Fish f2=new Fish("kj",5,"yellow");
    f1.eat();
    f2.drink();
    f1.eat();
    f2.drink();




}

}
